package com.aji.biomarker.mapper;

import com.aji.biomarker.domain.Compound;
import com.aji.biomarker.domain.dto.CompoundDto;
import com.aji.biomarker.domain.dto.SpeciesDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 82527
* @description 针对表【compound(化合物表)】的数据库操作Mapper
* @createDate 2024-05-14 18:47:39
* @Entity com.aji.boimarker.domain.Compound
*/
public interface CompoundMapper extends BaseMapper<Compound> {

    @Select("SELECT DISTINCT * FROM compound")
    List<Compound> selectDistinctList();

    List<CompoundDto> count();
}




